<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" lang="zh" xml:lang="zh">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>工具向导: 使用 Rational XDE Developer 设计用例</title>
<meta content="ToolMentor" name="uma.type">
<meta content="designing_use_cases" name="uma.name">
<meta content="使用 Rational XDE Developer 设计用例" name="uma.presentationName">
<meta content="Tool:rup_xde:Rational XDE Developer" name="uma.category">
<meta name="element_type" content="tool_mentor">
<meta content="Rational XDE Developer" name="tool">
<meta content="description" name="filetype">
<meta name="role" content="">
<link type="text/css" href="./../../../css/default.css" rel="StyleSheet">
<script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageResource.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageSubSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageToolbar.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/contentPage.js"></script><script language="JavaScript" type="text/javascript">
					var backPath = './../../../';
					var imgPath = './../../../images/';
					var nodeInfo=[{view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_gpYSoAILEdq-_NKqZM1EhA", "_qS-iwAIOEdqTna4sZVFRow", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{89CA76CF-37A6-4590-B9B5-90942D2B50E8}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_zRigkAILEdq-_NKqZM1EhA", "_U5tiUAISEdqTna4sZVFRow", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{89CA76CF-37A6-4590-B9B5-90942D2B50E8}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_AUv4MAIMEdq-_NKqZM1EhA", "_5ZuQsAIUEdqEutyfYo0quQ", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{89CA76CF-37A6-4590-B9B5-90942D2B50E8}"]}, {view: "view:_FCx1oN7CEdmsEI4YDGX2ag", path: ["_FCx1oN7CEdmsEI4YDGX2ag", "_jD8dUAIbEdqEutyfYo0quQ", "_F1OgYAIbEdqEutyfYo0quQ", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{89CA76CF-37A6-4590-B9B5-90942D2B50E8}"]}];
					contentPage.preload(imgPath, backPath, nodeInfo,  '', false, false, false);
				</script>
</head>
<body>
<div id="breadcrumbs"></div>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top"><a name="Top"></a>
<div id="page-guid" value="{89CA76CF-37A6-4590-B9B5-90942D2B50E8}"></div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap="true" class="pageTitle">工具向导：使用 Rational XDE Developer 设计用例</td><td width="100%">
<div id="contentPageToolbar" align="right"></div>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class="pageTitleSeparator"><img height="1" title="" alt="" src="./../../../images/shim.gif"></td>
</tr>
</table>
<div class="overview">
<table cellpadding="0" cellspacing="0" border="0" width="97%">
<tr>
<td width="50"><img title="" alt="" src="./../../../images/toolmentor.gif"></td><td>
<table cellpadding="0" cellspacing="0" border="0" class="overviewTable">
<tr>
<td valign="top">此工具向导描述如何执行“使用 Rational XDE Developer 设计用例”。</td>
</tr>
<tr>
<td>工具：<a href="./../../../core.base_rup/tools/rup_xde_D81FFA70.html" guid="{303A82D2-E3AB-4501-8563-0D4D43782AF9}">Rational XDE Developer</a></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">关系</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<th scope="row" class="sectionTableHeading">相关元素</th><td class="sectionTableCell">
<ul>
<li>
<a href="./../../../core.base_rup/tasks/use_case_design_92D13EEE.html" guid="{76E2B93D-051C-4B8C-BEA1-B40A40CBD986}">用例设计</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">主要描述</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<td class="sectionTableSingleCell"><a id="Top" name="Top"></a> 
<h3>
    概述
</h3>
<p>
    此工具向导支持使用 Rational XDE Developer - Java Platform Edition 设计用例。
</p>
<ul>
    <li>
        此工具向导中的步骤与相应任务中的那些步骤相匹配。
    </li>
    <li>
        XDE 联机帮助中的主题链接标有 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" />。
    </li>
    <li>
        在本工具向导中执行以下步骤：
    </li>
    <li style="LIST-STYLE-TYPE: none">
        <ul>
            <li>
                <a href="#Describe Interactions Between Design Objects">描述设计对象之间的交互</a>
            </li>
            <li>
                <a href="#Simplify Sequence Diagrams Using Subsystems (optional)">使用子系统简化时序图</a>（可选）
            </li>
            <li>
                <a href="#Describe Persistence-Related Behavior">描述持久性相关行为</a>
            </li>
            <li>
                <a href="#Refine the Flow of Events Description">优化事件流描述</a>
            </li>
            <li>
                <a href="#Unify Classes and Subsystems">统一设计类和子系统</a>
            </li>
            <li>
                <a href="#Evaluate Your Results">评估结果</a>
            </li>
        </ul>
    </li>
</ul>
<h3>
    <a id="Describe Interactions Between Design Objects" name="Describe Interactions Between Design Objects"><b>描述设计对象之间的交互</b></a>
</h3>
<p>
    您应该创建一个或多个时序图，对每个用例实现阐明其参与设计对象之间的交互。您可能已经在<a class="elementLinkWithUserText" href="./../../../core.base_rup/tasks/use_case_analysis_A6990185.html" guid="{28014615-A62F-452D-B821-30C7CAB0EC44}">任务：用例分析</a>期间创建了这些图的早期版本 － 分析用例实现。这些分析用例实现描述<a class="elementLinkWithUserText" href="./../../../core.base_rup/workproducts/rup_analysis_class_DAF7CE03.html" guid="{1E20603F-A5B8-42D5-BDBC-69DCE9C0FCDB}">分析类</a>之间的交互。它们必须演进才能描述设计元素之间的交互。
</p>
<p>
    一种方法是通过执行以下步骤新建用例实现和时序图：
</p>
<ol>
    <li>
        浏览到要新建用例实现的设计模型程序包。请参阅 <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/whitepapers/model_structure_guidelines_for_rational_xde_developer_6D2FD64A.html" guid="2.67081400527339E-306">Rational XDE 模型构造指南</a>。
    </li>
    <li>
        创建用例图。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Diagrams</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_add_dgm"); -->。
    </li>
    <li>
        将此用例实现（一个协作实例）添加到图中。（请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Shapes to Diagrams</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_add_shp_dgm"); -->。）为它指定与用例相同的名称。
    </li>
    <li>
        将其实现的用例拖放到图中。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Shapes to Diagrams</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_add_shp_dgm"); -->。
    </li>
    <li>
        添加从用例实现到用例的实现关系。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Realization Relationships</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_add_realztn_relshp"); -->。
    </li>
    <li>
        为每个独立的子流（场景）创建一个或多个交互实例。（在模型浏览器中，右键单击协作实例，然后单击<b>添加 UML &gt; 交互实例</b>。）请考虑将此交互实例命名为“&lt;用例名称&gt; - &lt;流类型&gt;”。
    </li>
    <li>
        创建此交互实例的时序图。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Diagrams</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_add_dgm"); -->。
    </li>
    <li>
        为时序图所描述的场景输入简要描述。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Documenting Model Elements</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_doc_model_elem"); -->.
    </li>
    <li>
        将参与者、类和接口拖放到图上，以便为交互创建对象。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Shapes to
        Diagrams</i> <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_add_shp_dgm"); -->。
    </li>
    <li>
        添加对象之间的消息。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Messages or Stimuli</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_add_messages"); -->。
    </li>
    <li>
        描述每个消息。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Documenting Model Elements</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_doc_model_elem"); -->.
    </li>
    <li>
        要描述对象在接收到消息时如何表现，请将操作分配给消息。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Assigning Operations to
        Messages or Stimuli</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_assgn_op_mess"); -->。
    </li>
</ol>
<p>
    或者，如果您不打算保留单独的“分析模型”，您可能会决定修改现有的时序图来反映设计元素的演进。
</p>
<p>
    参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Working with Interaction (Sequence) Diagrams</i> 
    <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_o_work_inter_dgm"); -->。
</p>
<h3>
    <a id="Simplify Sequence Diagrams Using Subsystems (optional)" name="Simplify Sequence Diagrams Using Subsystems (optional)"><b>使用子系统简化时序图（可选）</b></a>
</h3>
<p>
    请参阅前一步骤，以获得使用时序图的指导信息。<br />
</p>
<h3>
    <a id="Describe Persistence-Related Behavior" name="Describe Persistence-Related Behavior"><b>描述持久性相关行为</b></a>
</h3>
<p>
    理想状况下，持久性机制可使用模式描述。请参阅 Rational XDE 联机帮助中的以下主题：
</p>
<ul>
    <li>
        <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Rational XDE Design Patterns</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"ea","ea_c_xde_dsign_pttrn"); -->
    </li>
    <li>
        <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Benefits of Using Patterns</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"ea","ea_c_benefit_pttrn"); -->
         <!-- begin - wsw -->
    </li>
    <li>
        <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Understanding J2EE Pattern-Driven Development</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"j","jee_o_patbdev"); -->
    </li>
    <li>
        <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>J2EE Pattern-Driven Development</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"j","jee_c_j2ee_pattrns"); -->
    </li>
    <li>
        <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Supported J2EE Patterns</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"j","jee_o_supported_ejbs"); -->
    </li>
    <li>
        <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Defining Relationships for EJBs</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"j","jee_o_relating_ejbs"); -->
    </li>
    <li>
        <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Persistence Relationships</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"j","jee_r_ejb_persist_relships"); -->
    </li>
    <li>
        <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Creating Persistence Relationships Between EJBs</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"j","jee_t_creating_ejb_rels"); -->
    </li>
</ul>
<h3>
    <a id="Refine the Flow of Events Description" name="Refine the Flow of Events Description"><b>优化事件流描述</b></a>
</h3>
<p>
    可以将其他描述添加到时序图进行声明。图中的任何地方都可以添加文本。注释可以添加并连接到图上的形状中。请考虑使用<a class="elementLinkWithUserText" href="./../../../core.base_rup/workproducts/rup_use_case_realization_E4F713BD.html" guid="{87EB094F-095B-4981-ACC3-319B3B298641}">工作产品：用例实现</a>中 RUP 提供的模板。
</p>
<p>
    参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Attaching Notes to Shapes</i> 
    <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_attach_notes_shp"); -->, <img     alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Documenting Model Elements</i> 
    <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_doc_model_elem"); -->、<img alt="帮助手册图标"     src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Linking External Files to Model Elements</i> 
    <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_lnk_extrn_file_mdl_ele"); -->
</p>
<h3>
    <a id="Unify Classes and Subsystems" name="Unify Classes and Subsystems"><b>统一设计类和子系统</b></a>
</h3>
<p>
    实现用例后，您必须统一已确定的设计类和子系统，以确保“设计模型”中的均一性和一致性。
</p>
<p>
    统一设计的一个组成部分是确定可分解并复用的通用模式。请参阅 Rational XDE 联机帮助中的以下主题：
</p>
<ul>
    <li>
        <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Implementing Design Patterns</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"ea","ea_o_rat_xde_pttrn"); -->
    </li>
    <li>
        <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Rational XDE Design Patterns</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"ea","ea_c_xde_dsign_pttrn"); -->
    </li>
    <li>
        <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Benefits of Using Patterns</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"ea","ea_c_benefit_pttrn"); -->
    </li>
</ul>
<h3>
    <a id="Evaluate Your Results" name="Evaluate Your Results"><b>评估结果</b></a>
</h3>
<p>
    此步骤没有具体的 Rational XDE 指导信息。
</p>
<p>
    <br />
    <br />
</p></td>
</tr>
</table>
</div>
<table cellpadding="0" cellspacing="0" border="0" class="copyright">
<tr>
<td class="copyright"><p>
    &copy; &nbsp;Copyright IBM Corp.&nbsp;1987, 2006. &nbsp;All Rights Reserved.
</p></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<script language="JavaScript" type="text/javascript">
				contentPage.onload();
			</script>
</html>
